:host {
  min-block-size: 100vh;
  display: grid;
  place-items: center;
  background-color: var(--bgcolor--);
  overflow: hidden;
  --bgcolor--: #001c30;
  display: block;
}
.contianer {
  max-width: 50rem;
  min-width: 50rem;
  overflow: hidden;
  position: relative;
}
.contianer::before,
.contianer::after {
  content: '';
  width: 100px;
  height: 100%;
  position: absolute;
  z-index: 1;
}
.contianer::before {
  background: linear-gradient(-90deg, transparent, var(--bgcolor--) 80%, var(--bgcolor--) 20%, transparent);
  left: -5%;
  top: 0%;
}
.contianer::after {
  background: linear-gradient(90deg, transparent, var(--bgcolor--) 80%, var(--bgcolor--) 20%, transparent);
  right: -5%;
  top: 0%;
}
.ul-list {
  margin: 0;
  padding-inline: 0;
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  li {
    line-height: 1;
    width: 12rem;
    background: #10ac84;
    padding: 1rem;
    border-radius: 0.5rem;
    color: #fff;
    text-align: center;
    img {
      border-radius: 0.5rem;
      width: 100%;
      aspect-ratio: 1 / 1;
      object-fit: cover;
    }
  }
}
.contianer[data-animated='true'] .scroll_item {
  width: max-content;
  flex-wrap: nowrap;
  animation: scroll var(--animation-duration, 30s) var(--animation-direction, forwards) linear infinite;
}
.contianer[data-reverse='true'] {
  --animation-direction: reverse;
}
@keyframes scroll {
  to {
    transform: translate(calc(-50% - 0.5rem));
  }
}
